package com.cloudlead.common.worker.web;

import com.cloudlead.utils.async.SimpleAsyncTaskService;
import org.springframework.stereotype.Service;

import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;

@Service
public class DefaultAsyncTaskService extends SimpleAsyncTaskService {

	@PostConstruct
	@Override
	public void start() {
		super.start();
	}

	@PreDestroy
	@Override
	public void stop() {
		super.stop(0);
	}

}
